export const postChangeChildren = [
    {
        label: '申请原因',
        formId: 'reason',
        tag: 'TextArea',
        rules: [
            {
                required: true,
                message: '请输入原因'
            }
        ],
        options: {
            placeholder: '请输入',
            disabled: true,
            maxLength: 500
        }
    },
    // {
    //     label: '变更岗位最高权限',
    //     formId: 'dutyOrg',
    //     tag: 'Input',
    //     rules: [],
    //     options: {
    //         disabled: true
    //     },
    //     inFormAuth: false,
    //     inRenderDom: false,
    //     isUsed: false,
    //     proCondition: true,
    //     conditionShowOption: { valueMode: 'multiple', showType: 'select' },
    //     dataList: [
    //         {
    //             label: '基础',
    //             value: 1
    //         },
    //         {
    //             label: '职能',
    //             value: 2
    //         },
    //         {
    //             label: '高级',
    //             value: 3
    //         }
    //     ]
    // },
    {
        label: '岗位名称',
        formId: 'dutyName',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    // {
    //     label: '岗位变更最高权限',
    //     formId: 'dutyOrgName',
    //     tag: 'Input',
    //     rules: [],
    //     options: {
    //         disabled: true
    //     },
    //     isSummary: true,
    //     inFormAuth: false,
    //     inRenderDom: false
    // },
    {
        label: '操作类型',
        formId: 'operationType',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '申请成功跳转',
        formId: 'applySuccessUrl',
        tag: 'Input',
        rules: [],
        options: {
            initialValue: '/office/personnelManagement/organization/orgflow',
            disabled: true
        },
        inFormAuth: false,
        inRenderDom: false
    }
];
export const postChangeControl = {
    label: '岗位申请',
    cmpType: 'custom',
    formId: '',
    key: 'PostChange',
    tag: 'PostChange',
    formStyle: true,
    tagIcon: 'iconprocess_common_supplementcard_icon',
    children: postChangeChildren,
    proCondition: true,
    isUsed: false
};
